<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="/oa/Public/css/form.css" />
<title>工作办理</title>
<script>
function flow_view(RUN_ID,FLOW_ID)
{
  myleft=(screen.availWidth-600)/2;
  window.open("../flow_view.php?RUN_ID=23&FLOW_ID=18","flow_view","status=0,toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=yes,width=600,height=400,left="+myleft+",top=100");
}

function stop_run(RUN_ID,PRCS_ID)
{
  msg="本流程为自由流程，可以随时结束，确认要结束该工作流程么？";
  if(window.confirm(msg))
  {
    url="../stop.php?FLOW_ID=&RUN_ID="+RUN_ID+"&PRCS_ID="+PRCS_ID;
    parent.location=url;
  }
}

function finish_run(RUN_ID,PRCS_ID)
{
  msg="确认该工作已经办理完毕么？";
  if(window.confirm(msg))
  {
    url="../stop.php?FLOW_ID=&RUN_ID="+RUN_ID+"&PRCS_ID="+PRCS_ID;
    parent.location=url;
  }
}
</script>
</head>

<body class="bodycolor" topmargin="7">
<center>
   <input type="button" value="保存转交" class="button" onclick="parent.form_view.CheckForm(2);" title="保存表单并转交下一步">&nbsp;&nbsp;
   <input type="button" value="保存" class="button" onclick="parent.form_view.CheckForm(1);" title="保存表单">&nbsp;&nbsp;
   <input type="button" value="返回" class="button" onClick="parent.location='/oa/index.php/Home/WorkFlow/work_list';" title="返回">
</center>
</body>
</html>